package com.huike.review.service;

import com.huike.review.pojo.Review;

import java.util.List;

/**
 * mybatis复习接口层
 */
public interface ReviewService {

    //新增
    boolean insertReviewData(Review review);

    //修改
    boolean updateReviewData(Review review);

    //删除
    boolean removeReviewData(Long id, Review review);

    //根据id查询
    Review getReviewData(Long id);

    //分页查询
    List<Review> pageReviewData();
}
